import { MutableRefObject } from 'react'
import { User } from './api'
export type IAction = 'create' | 'edit' | 'delete'
export interface IModalProp {
  mRef: MutableRefObject<
    | {
        open: (type: IAction, data: User.userInfo) => void
      }
    | undefined
  >

  update: () => void
}
